
#source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!

platform :ios, '13.0'
target 'Cycling' do
  pod 'AFNetworking', '~> 4.0.1'
  pod 'Masonry', '~> 1.1.0'
  pod 'SDWebImage', '~> 5.0.0-beta3'
  pod 'YYKit'
  pod 'MBProgressHUD'
  pod 'MJExtension'
  pod 'FBSDKLoginKit'
#  pod 'FBSDKShareKit'
  pod 'IQKeyboardManager'
  pod 'Mapbox-iOS-SDK'
  pod 'WebViewJavascriptBridge' #js交互

  pod 'MapboxCoreNavigation', '~> 2.10'
  pod 'MapboxNavigation', '~> 2.10'
  
#  pod 'MapboxNavigation'
  pod 'MapboxSearch', ">= 1.0.0-rc.2", "< 2.0"
  
  pod 'Starscream', '~> 4.0.0'
  pod 'QBImagePickerController', '3.4.0'
  pod 'GoogleSignIn'
  pod 'MJRefresh'
  
#  pod 'iOS-Echarts'
  pod 'FirebaseMessaging', '~> 10.8.0'
  
  pod 'FacebookSDK'
  pod 'FacebookSDK/LoginKit'
  pod 'FBSDKCoreKit'
  pod 'FBSDKShareKit'
  pod 'FacebookSDK/PlacesKit'
  
  pod 'FBSDKMessengerShareKit'
  
#  pod 'Bugly'
  
  pre_install do |installer|
    dir_web = File.join(installer.sandbox.pod_dir('WebViewJavascriptBridge'), 'WebViewJavascriptBridge')
    Dir.foreach(dir_web) {|x|
      real_path = File.join(dir_web, x)
      if (!File.directory?(real_path) && File.exists?(real_path))
        if(x == 'WebViewJavascriptBridge.h' || x == 'WebViewJavascriptBridge.m')
          File.delete(real_path)
        end
      end
    }
  end
  
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end


#sk.eyJ1IjoibWFvbml1IiwiYSI6ImNsZnQxbmd5ajBidTYzcW1oZHprZjl6MjQifQ.hvcF7IHwpw5bOwjC7ONOKg
